package com.tianwen.management.service;

import com.tianwen.management.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author Administrator
* @description 针对表【role】的数据库操作Service
* @createDate 2023-05-12 15:34:17
*/
public interface RoleService extends IService<Role> {

    List<Role> page(Integer page, Integer pageSize, String name);

    boolean removeAndPermission(Long id);

    boolean saveAndPermission(Role role);

    boolean updateAndPermission(Role role);
}
